package com.shop2cn.iapi.promotion.parameter;

import com.google.gson.annotations.SerializedName;
import com.ymt.base.BaseBean;

import java.math.BigDecimal;

/**
 * Created by gejianhua on 2017/5/11.
 * 促销面额
 */
public class PromotionValueDto extends  BaseBean{

    /**
     * 满XXX件使用条件
     */
    @SerializedName("QtyCondition")
    private int qtyCondition;

    /**
     * 满XXX金额使用条件
     */
    @SerializedName("AmountCondition")
    private BigDecimal amountCondition;

    /**
     * 满减金额/折扣
     * 打折：折扣场景下，0.99=99折、0.1=1折
     * 满减：0.99=0.99元、0.1=0.1元
     */
    @SerializedName("Value")
    private BigDecimal value;

    public int getQtyCondition() {
        return qtyCondition;
    }

    public void setQtyCondition(int qtyCondition) {
        this.qtyCondition = qtyCondition;
    }

    public BigDecimal getAmountCondition() {
        return amountCondition;
    }

    public void setAmountCondition(BigDecimal amountCondition) {
        this.amountCondition = amountCondition;
    }

    public BigDecimal getValue() {
        return value;
    }

    public void setValue(BigDecimal value) {
        this.value = value;
    }
    
    
    /**
     * 是否免运费  true:免运费  false:不免运费  新增 summing 20191231
     */
    private Integer freeFreight;
	public Integer getFreeFreight() {
        return freeFreight;
    }

    public void setFreeFreight(Integer freeFreight) {
        this.freeFreight = freeFreight;
    }
}


